QuickOPC User's Guide and Reference
CheckValue Method (ValueArguments<T>)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.OperationModel.Generic Namespace > ValueArguments<T> Class : CheckValue Method
Value to be checked.Value to be checked.
Infrastructure. Infrastructure.
Syntax
'Declaration
 
Protected Overrides Sub CheckValue( _
   ByVal value As Object _
) 
'Usage
 
Dim instance As ValueArguments(Of T)
Dim value As Object
 
instance.CheckValue(value)
protected override void CheckValue( 
   object value
)
protected:
void CheckValue( 
   Object^ value
) override 

Parameters

value
Value to be checked.Value to be checked.
Exceptions
ExceptionDescription

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

One of the arguments provided to a method is not valid.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also